from ipywidgets import interact
import ipywidgets as widgets


# 列表参数: 下拉框
def fun_list(x):
    return x

data = {
    "Tom": 18,
    "Jerry": 20,
    "Lucy": 22,
}
interact(fun_list, x=data)
